// This file is part of the RECODER library and protected by the LGPL.

package recodercs.csharp;

import recodercs.*;
import recodercs.list.*;

/**
 Statement container.
 @author <TT>AutoDoc</TT>
 */

public interface StatementContainer extends NonTerminalProgramElement {

    /**
     Get the number of statements in this container.
     @return the number of statements.
     */
    int getStatementCount();

    /*
      Return the statement at the specified index in this node's
      "virtual" statement array.
      @param index an index for a statement.
      @return the statement with the given index.
      @exception ArrayIndexOutOfBoundsException if <tt>index</tt> is out
      of bounds.
    */
    Statement getStatementAt(int index);
}
